package com.dragon.modules.yuegou.excel.points;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\points\\apply.xlsx")
public class ApplyWorkbook {
	@ExcelSheet
	@JsonProperty("小票兑积分表")
	private List<ApplyRow> apply;

	public static class ApplyRow {
		@JsonProperty("用户名")
		private String nickName;

		@JsonProperty("手机号")
		private String mobile;
		
		@JsonProperty("会员等级")
		private String levelName;

		@JsonProperty("商户名")
		private String merchantName;

		@JsonProperty("小票金额")
		private BigDecimal cost;

		@JsonProperty("兑换积分")
		private Integer points;

		@JsonProperty("申请时间")
		private LocalDateTime createdTime;

		@JsonProperty("状态")
		private String status;

		@JsonProperty("所属商圈")
		private String bcName;

		public String getNickName() {
			return nickName;
		}

		public void setNickName(String nickName) {
			this.nickName = nickName;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getLevelName() {
			return levelName;
		}

		public void setLevelName(String levelName) {
			this.levelName = levelName;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public BigDecimal getCost() {
			return cost;
		}

		public void setCost(BigDecimal cost) {
			this.cost = cost;
		}

		public Integer getPoints() {
			return points;
		}

		public void setPoints(Integer points) {
			this.points = points;
		}

		public LocalDateTime getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(LocalDateTime createdTime) {
			this.createdTime = createdTime;
		}

		public String getStatus() {
			return status;
		}

		public void setStatus(String status) {
			this.status = status;
		}

		public String getBcName() {
			return bcName;
		}

		public void setBcName(String bcName) {
			this.bcName = bcName;
		}
	}

	public List<ApplyRow> getApply() {
		return apply;
	}

	public void setApply(List<ApplyRow> apply) {
		this.apply = apply;
	}
}
